@space: 24px;
@border_light: #d9d9d9;
@border_dark: #868686;

.modalDefault() {
  :global {
    .ant-modal-content {
      .ant-modal-header {
        padding-top: 18px;
        padding-bottom: 0;
        border-bottom: 0;
      }

      .ant-modal-body {
        padding: @space;
      }

      .ant-modal-footer {
        padding: @space;
        padding-top: 0;
        border-top: 0;
      }

      .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
        margin-left: 16px;
      }

      .ant-btn {
        border-radius: 5px;
      }

      .ant-btn-primary {
        background: #18a0fb;
        border-color: #18a0fb;
      }
    }
  }
}

.modal {
  .modalDefault();

  .titleDiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    .left {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-right: 20px;
      .titleLogo {
        width: 30px;
        height: 30px;
        margin-right: 10px;
      }

      .title {
        font-weight: 500;
        font-size: 18px;
        font-family: PingFang SC;
        line-height: 18px;
        letter-spacing: 0;
        text-align: left;
      }
    }
  }

  .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 586px;
    overflow: hidden;
    .header {
      display: flex;
      padding-bottom: 16px;
    }
    .bottom {
      display: flex;
      flex: 1;
      overflow: hidden;

      .chart {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
        .chartTitle {
          padding: 16px 0;
        }
      }
    }
  }
}
